package com.hl.card.credit.pub.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 航班信息
 * 
 * @author wdf
 * 
 */
public class FlightAirsegment {
	/**
	*
	*/
	private Integer id;

	/**
	 * 唯一编号
	 */
	private String segment_code;

	/**
	 * 关联key
	 */
	private String segment_key;

	/**
	 * 订单号
	 */
	private String order_no;
	/**
	 * 订单号
	 */

	/**
	 * 航段组（0为去程，1为回程）
	 */
	private Integer groups;

	/**
	 * 航段序号
	 */
	private Integer segment_index;

	/**
	 * 航班日期
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private java.util.Date departuredate;

	/**
	 * 出发机场（城市）
	 */
	private String depart;

	/**
	 * 出发机场（城市）名称
	 */
	private String depart_cn;

	/**
	 * 飞行时间（分钟）
	 */
	private Integer flighttime;

	/**
	 * 里程数（千米）
	 */
	private Integer distance;

	/**
	 * 机型
	 */
	private String equipment;

	/**
	 * 始发航站楼
	 */
	private String orgjetquay;

	/**
	 * 是否共享 0:共享 1:不共享
	 */
	private Integer share;

	/**
	 * 承运人
	 */
	private String carrier;

	/**
	 * 航班号
	 */
	private String flightnumber;

	/**
	 * 实际承运人
	 */
	private String actual_carrier;

	/**
	 * 实际承运航班号
	 */
	private String actual_flightnumber;

	/**
	 * 到达机场（城市）
	 */
	private String arrive;

	/**
	 * 到达机场（城市）
	 */
	private String arrive_cn;

	/**
	 * 到达日期
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private java.util.Date arrivedate;

	/**
	 * 到达航站楼
	 */
	private String dstjetquays;

	/**
	 * 是否经停 0:是 1否
	 */
	private Integer stoped;

	/**
	 * 经停点
	 */
	private String stoped_city;

	/**
	 * 经停点名称
	 */
	private String stoped_city_cn;

	/**
	 * 业务类型
	 */
	private String business_type;

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getId() {
		return this.id;
	}

	public void setSegment_code(String segment_code) {
		this.segment_code = segment_code;
	}

	public String getSegment_code() {
		return this.segment_code;
	}

	public void setSegment_key(String segment_key) {
		this.segment_key = segment_key;
	}

	public String getSegment_key() {
		return this.segment_key;
	}

	public void setOrder_no(String order_no) {
		this.order_no = order_no;
	}

	public String getOrder_no() {
		return this.order_no;
	}

	public void setGroups(Integer groups) {
		this.groups = groups;
	}

	public Integer getGroups() {
		return this.groups;
	}

	public void setSegment_index(Integer segment_index) {
		this.segment_index = segment_index;
	}

	public Integer getSegment_index() {
		return this.segment_index;
	}

	public void setDeparturedate(java.util.Date departuredate) {
		this.departuredate = departuredate;
	}

	public java.util.Date getDeparturedate() {
		return this.departuredate;
	}

	public void setDepart(String depart) {
		this.depart = depart;
	}

	public String getDepart() {
		return this.depart;
	}

	public void setDepart_cn(String depart_cn) {
		this.depart_cn = depart_cn;
	}

	public String getDepart_cn() {
		return this.depart_cn;
	}

	public void setFlighttime(Integer flighttime) {
		this.flighttime = flighttime;
	}

	public Integer getFlighttime() {
		return this.flighttime;
	}

	public void setDistance(Integer distance) {
		this.distance = distance;
	}

	public Integer getDistance() {
		return this.distance;
	}

	public void setEquipment(String equipment) {
		this.equipment = equipment;
	}

	public String getEquipment() {
		return this.equipment;
	}

	public void setOrgjetquay(String orgjetquay) {
		this.orgjetquay = orgjetquay;
	}

	public String getOrgjetquay() {
		return this.orgjetquay;
	}

	public void setShare(Integer share) {
		this.share = share;
	}

	public Integer getShare() {
		return this.share;
	}

	public void setCarrier(String carrier) {
		this.carrier = carrier;
	}

	public String getCarrier() {
		return this.carrier;
	}

	public void setFlightnumber(String flightnumber) {
		this.flightnumber = flightnumber;
	}

	public String getFlightnumber() {
		return this.flightnumber;
	}

	public void setActual_carrier(String actual_carrier) {
		this.actual_carrier = actual_carrier;
	}

	public String getActual_carrier() {
		return this.actual_carrier;
	}

	public void setActual_flightnumber(String actual_flightnumber) {
		this.actual_flightnumber = actual_flightnumber;
	}

	public String getActual_flightnumber() {
		return this.actual_flightnumber;
	}

	public void setArrive(String arrive) {
		this.arrive = arrive;
	}

	public String getArrive() {
		return this.arrive;
	}

	public void setArrive_cn(String arrive_cn) {
		this.arrive_cn = arrive_cn;
	}

	public String getArrive_cn() {
		return this.arrive_cn;
	}

	public void setArrivedate(java.util.Date arrivedate) {
		this.arrivedate = arrivedate;
	}

	public java.util.Date getArrivedate() {
		return this.arrivedate;
	}

	public void setDstjetquays(String dstjetquays) {
		this.dstjetquays = dstjetquays;
	}

	public String getDstjetquays() {
		return this.dstjetquays;
	}

	public void setStoped(Integer stoped) {
		this.stoped = stoped;
	}

	public Integer getStoped() {
		return this.stoped;
	}

	public void setStoped_city(String stoped_city) {
		this.stoped_city = stoped_city;
	}

	public String getStoped_city() {
		return this.stoped_city;
	}

	public void setStoped_city_cn(String stoped_city_cn) {
		this.stoped_city_cn = stoped_city_cn;
	}

	public String getStoped_city_cn() {
		return this.stoped_city_cn;
	}

	public void setBusiness_type(String business_type) {
		this.business_type = business_type;
	}

	public String getBusiness_type() {
		return this.business_type;
	}

	@Override
	public String toString() {
		return "FlightAirsegment={\"id\":\"" + id + "\", \"segment_code\":\"" + segment_code + "\", \"segment_key\":\""
				+ segment_key + "\", \"order_no\":\"" + order_no
				+ "\", \"groups\":\"" + groups + "\", \"segment_index\":\"" + segment_index + "\", \"departuredate\":\""
				+ departuredate + "\", \"depart\":\"" + depart + "\", \"depart_cn\":\"" + depart_cn
				+ "\", \"flighttime\":\"" + flighttime + "\", \"distance\":\"" + distance + "\", \"equipment\":\""
				+ equipment + "\", \"orgjetquay\":\"" + orgjetquay + "\", \"share\":\"" + share + "\", \"carrier\":\""
				+ carrier + "\", \"flightnumber\":\"" + flightnumber + "\", \"actual_carrier\":\"" + actual_carrier
				+ "\", \"actual_flightnumber\":\"" + actual_flightnumber + "\", \"arrive\":\"" + arrive
				+ "\", \"arrive_cn\":\"" + arrive_cn + "\", \"arrivedate\":\"" + arrivedate + "\", \"dstjetquays\":\""
				+ dstjetquays + "\", \"stoped\":\"" + stoped + "\", \"stoped_city\":\"" + stoped_city
				+ "\", \"stoped_city_cn\":\"" + stoped_city_cn + "\", \"business_type\":\"" + business_type + "\"}";
	}

}
